package net.lab1024.sa.admin.module.users.usage.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;

import java.sql.Timestamp;
import java.time.LocalDate;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 实训室耗材领用 更新表单
 *
 * @Author 李韵妍
 * @Date 2024-11-08 13:31:03
 * @Copyright 🐂🐎bloc
 */

@Data
public class ConsumablesUsageUpdateForm {




    @Schema(description = "耗材ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "耗材ID 不能为空")
    private Integer materialId;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量 不能为空")
    private Integer quantity;

    @Schema(description = "用途，主要包括实训耗材、维修配件、竞赛训练等", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "用途，主要包括实训耗材、维修配件、竞赛训练等 不能为空")
    private String purpose;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "备注 不能为空")
    private String remark;



    @Schema(description = "领用人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "领用人 不能为空")
    private int usageUser;



}